/**
 * create by young (young2f@outlook.com) on 2023/4/16
 */
'use strict';
module.exports = app => {
    const {router, controller} = app;
    router.post('/api/personnel/dic/create', controller.personnel.createDic);
    router.post('/api/personnel/dic/update', controller.personnel.updateDic);
    router.post('/api/personnel/dic/delete', controller.personnel.deleteDic);
    router.post('/api/personnel/dic/find/many', controller.personnel.findDicMany);

    router.post('/api/personnel/create', controller.personnel.createPersonnel);
    router.post('/api/personnel/update', controller.personnel.updatePersonnel);
    router.post('/api/personnel/delete', controller.personnel.deletePersonnel);
    router.post('/api/personnel/find/many', controller.personnel.findPersonnelMany);
    router.post('/api/personnel/dic/excel', controller.personnel.exportExcel);

};
